import axios from '@/utils/request'

export const GET_COURSE_DETAIL = (id) => axios.post('/course/getById', {
  id
}) 

// 获取课程目录

export const GET_COURSE_CATALOGUE = (id) => axios.post('/chapter/queryChapter', {
  coursesId: id
})

// 获取老师详情
export const GET_TEACHER_DETAIL = id => axios.post('/teacher/getById', {teacherId: id})